/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

//package codificacaojava;

/**
 *
 * @author su
 */
public class Teste 
{
    private String nucletoides[] = {"adenine", "thymine", "cytosine", "guanine"}; 
	public static void main(String[] args)
	{
		
		System.out.println(teste());
	}   	 
        
    public int getNucletoideCode(String nucleotide)
    {
        int code = 0;
        while(!nucleotide.equals(this.nucletoides[code])) code++;
        return code;
    }
	static public boolean teste()
	{
		String a = "aaaaaaa"; 
		return a.startsWith("AAAA");
	}

}
